

function createHiddenInput( name, value )
{
var oInput = document.createElement( "input" );
oInput.name = name;
oInput.id = oInput.name;
oInput.type = "hidden";
oInput.value = value;
crmFormSubmit.appendChild( oInput );

return oInput;
}



function deleteInput( oInput )
{
oInput.removeNode( true );
}


function boolToStr( b )
{
if( b )
{
return "true";
}
else
{
return "false";
}
}